package com.sp2.dev.test.builder;

/**
 * Created by IntelliJ IDEA.
 * User: zhimingli
 * Date: 14-1-23
 * Time: 下午6:03
 * To change this template use File | Settings | File Templates.
 */
public class ConcreateBuilder extends Builder{

    private Product product = new Product();

    @Override
    public void builderPart1() {
        System.out.println("builderPart1");
    }

    @Override
    public void builderPart2() {
         System.out.println("builderPart2");
    }

    @Override
    public Product returnProduct() {
        System.out.println("returnProduct");
        return  product;
    }
}
